using System;

namespace SBPweb.Forge.Modules.Dependencies
{

	/// <summary>
	/// Interface for version dependency handling
	/// </summary>
	public interface IVersionDependency
    {

		/// <summary>
		/// Version mask
		/// </summary>
        VersionMask Mask
        {
            get;
        }

		/// <summary>
		/// Minimum version
		/// </summary>
        System.Version MinimumVersion
        {
            get;
        }

		/// <summary>
		/// Maximum version
		/// </summary>
        System.Version MaximumVersion
        {
            get;
        }

		/// <summary>
		/// Returns true if version is met with the given Mask, MinimumVersion and MaximumVersion
		/// </summary>
        bool IsMet
        {
            get;
        }

    }
}
